package com.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoomManager {
    private Integer roomId;
    private String roomType;
    private Integer roomPrice;
    private Integer roomState;
    private Integer roomFkInfo;
    private List<OrderInfoManager> orderInfoManagers;

    public RoomManager(Integer roomId, String roomType, Integer roomPrice, Integer roomState) {
        this.roomId = roomId;
        this.roomType = roomType;
        this.roomPrice = roomPrice;
        this.roomState = roomState;
    }

    public RoomManager(String roomType, Integer roomPrice, Integer roomState) {
        this.roomType = roomType;
        this.roomPrice = roomPrice;
        this.roomState = roomState;
    }
    @Override
    public String toString() {
        return "RoomManager{" +
                "roomId=" + roomId +
                ", roomType='" + roomType + '\'' +
                ", roomPrice=" + roomPrice +
                ", roomState=" + roomState +
                '}';
    }
}
